﻿using System;
using System.Collections.Generic;
namespace CMN.Config
{
	/// <summary>
	/// 基本设置描述类, 加[Serializable]标记为可序列化
	/// </summary>
    [Serializable]
    public class AutoJobConfigInfo : IConfigInfo
    {
        


        private List<AutoJobInfo> autoJobDisplayInfos = new List<AutoJobInfo>();

        /// <summary>
        /// 模板解析列表
        /// </summary>
        public List<AutoJobInfo>  AutoJobInfos
        {
            get { return  autoJobDisplayInfos; }
            set {  autoJobDisplayInfos = value; }
        }
           
    }

    /// <summary>
    /// 模板解析名称
    /// </summary>
    public class AutoJobInfo
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }


        /// <summary>
        /// 命名空间
        /// </summary>
        public string NameSpace { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsWork { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public Int32 Interval { get; set; }
    }
}
